/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.bo;


import com.comac.ins.common.core.validate.AddGroup;
import com.comac.ins.common.core.validate.EditGroup;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import com.comac.ins.isfd.domain.IsfdModelManagementCalculateFile;
import com.comac.ins.isfd.domain.vo.IsfdModelManagementBoundaryVo;
import com.comac.ins.isfd.domain.vo.IsfdModelManagementLoadVo;
import com.comac.ins.isfd.domain.vo.IsfdModelManagementNecessaryItemsVo;
import com.comac.ins.isfd.domain.vo.IsfdModelManagementPartVo;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 计算文件记录业务对象 isfd_model_management_calculate_file
 *
 * @author Lion Li
 * @date 2024-08-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IsfdModelManagementCalculateFile.class, reverseConvertGenerate = false)
public class IsfdModelManagementCalculateFileBo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 任务id
     */
    @NotNull(message = "任务id不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long taskId;

    /**
     * 零件id集合，用都好隔开
     */
    @NotNull(message = "零件id集合，用都好隔开不能为空", groups = {AddGroup.class, EditGroup.class})
    private String partIds;

    /**
     * 必备件id
     */
    private List<Long> necessaryItemsIds;

    /**
     * 边界条件id
     */
    private List<Long> boundaryIds;

    /**
     * 载荷文件id
     */
    private List<Long> loadIds;

    /**
     * 非标文件id
     */
    private List<Long> nonstandardocsIds;

}
